package org.wukongcrm.domain.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
    * 审核日志
    */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "examine_log")
public class ExamineLog implements Serializable {
    @TableId(value = "log_id", type = IdType.INPUT)
    private Integer logId;

    /**
     * 审批记录id
     */
    @TableField(value = "record_id")
    private Integer recordId;

    /**
     * 审核步骤id
     */
    @TableField(value = "examine_step_id")
    private Integer examineStepId;

    /**
     * 审核状态 0 未审核 1 审核通过 2 审核拒绝 3 撤回审核
     */
    @TableField(value = "examine_status")
    private Integer examineStatus;

    /**
     * 创建人
     */
    @TableField(value = "create_user")
    private Integer createUser;

    /**
     * 创建时间
     */
    @TableField(value = "create_time")
    private Date createTime;

    /**
     * 审核人
     */
    @TableField(value = "examine_user")
    private Integer examineUser;

    /**
     * 审核时间
     */
    @TableField(value = "examine_time")
    private Date examineTime;

    /**
     * 审核备注
     */
    @TableField(value = "remarks")
    private String remarks;

    /**
     * 是否是撤回之前的日志 0或者null为新数据 1：撤回之前的数据
     */
    @TableField(value = "is_recheck")
    private Integer isRecheck;

    /**
     * 订单id
     */
    @TableField(value = "order_id")
    private Integer orderId;

    private static final long serialVersionUID = 1L;
}